package com.hazardSoft.eStore.interfaces;

import java.util.List;

import javax.ejb.Local;

import com.hazardSoft.eStore.common.exception.SystemException;
import com.hazardSoft.eStore.entities.User;

public @Local interface UsersLocal {
	public User insertUser(User user) throws SystemException;
	public User authenticateUser(User user) throws SystemException;
	public User searchUserById(User user) throws SystemException;
	public User searchUserByLogin(User user) throws SystemException;
	public User updateUser(User user) throws SystemException;
	public boolean removeUser(User user) throws SystemException;
	public List<User> listUsers() throws SystemException;
	public User getBillsBySeller(User seller) throws SystemException;
}
